package com.whx.managea.dao;

import com.whx.managea.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDAO {

    //注册功能
    void regist(User user);

    //判断当前用户名是否存在
    User findByName(String name);



}
